package wrappers;

public class DataType {
	private int dataTypeId;
	private String sqlType, erdType;

	public DataType(int id, String sqlType, String erdType) {
		this.setDataTypeId(id);
		this.setSqlType(sqlType);
		this.setErdType(erdType);
	}
	public String getSqlType() {
		return sqlType;
	}

	public void setSqlType(String sqlType) {
		this.sqlType = sqlType;
	}

	public String getErdType() {
		return erdType;
	}

	public void setErdType(String erdType) {
		this.erdType = erdType;
	}
	public int getDataTypeId() {
		return dataTypeId;
	}
	public void setDataTypeId(int dataTypeId) {
		this.dataTypeId = dataTypeId;
	}
	
	@Override
	public String toString() {
		return erdType;
	}
	

}
